<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文本域(text fields)</title>
</head>

<body>
    <form>
        名：
        <input type="text" name="firstname">
        <br />
        姓：
        <input type="text" name="lastname">
    </form>
</body>

</html>